home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / source / jade-3.2.lha / jade-3.2 / src / x11_defs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-08  |  1.3 KB  |  46 lines

  1. /* x11_defs.h -- Declarations for X11
  2.    Copyright (C) 1993, 1994 John Harper <jsh@ukc.ac.uk>
  3.  
  4.    This file is part of Jade.
  5.  
  6.    Jade is free software; you can redistribute it and/or modify it
  7.    under the terms of the GNU General Public License as published by
  8.    the Free Software Foundation; either version 2, or (at your option)
  9.    any later version.
  10.  
  11.    Jade is distributed in the hope that it will be useful, but
  12.    WITHOUT ANY WARRANTY; without even the implied warranty of
  13.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.    GNU General Public License for more details.
  15.  
  16.    You should have received a copy of the GNU General Public License
  17.    along with Jade; see the file COPYING.    If not, write to
  18.    the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #ifndef _X11_DEFS_H
  21. #define _X11_DEFS_H
  22.  
  23. #include <X11/Xlib.h>
  24. #include "x11_windowsys.h"
  25.  
  26. /*
  27.  * It seems that X11R4 doesn't have XPointer type??
  28.  */
  29. #if HAVE_X11 < 5
  30. typedef char *XPointer;
  31. #endif
  32.  
  33. #define NOSCRLBAR
  34.  
  35. /* standard font */
  36. #define DEFAULT_FONT "fixed"
  37.  
  38. /* timeout length. This determines how much time with no events received
  39.    is needed before looking for buffers which are due to be auto-saved.     */
  40. #define EVENT_TIMEOUT_LENGTH 1
  41.  
  42. /* max number of milliseconds between double-clicks */
  43. #define DOUBLE_CLICK_TIME 250
  44.  
  45. #endif /* _X11_DEFS_H */
  46.